﻿namespace PorteringManagement.Model
{
    using System.ComponentModel;
    using System.ComponentModel.DataAnnotations;

    public class Cargo
    {
        [Key]
        public int CargoID { get; set; }

        [DisplayName("Tipo de Carga")]
        public int CargoTypeID { get; set; }

        [DisplayName("Cliente")]
        public int CustomerID { get; set; }

        [DisplayName("Itinerario")]
        public int? ItineraryID { get; set; }

        [DisplayName("Nombre")]
        public string Name { get; set; }

        [DisplayName("Descripción")]
        public string Descripion { get; set; }

        [DisplayName("Tamaño")]
        public double Size { get; set; }

        [DisplayName("Peso")]
        public double Weight { get; set; }

        public virtual CargoType CargoType { get; set; }

        public virtual Customer Customer { get; set; }

        public virtual Invoice Invoice { get; set; }

        public virtual Itinerary Itinerary { get; set; }
    }
}
